package com.apps.ftapp.model;

import java.util.List;

/**
 * Created by lyli on 2017/10/30.
 */

public class TjCtModel {


    /**
     * success : 1
     * lmname : 推荐错题
     * item : {"questionId":"951","questionType":"single_choice","question":{"id":"951","type":"single_choice","stem":"<p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 <\/font>  <\/p>","score":"1.0","answer":["3"],"analysis":"<p ><font size=4 color=#5D5D5D  > 【解析】狭义的教育是指以影响人的身心发展为直接目标的社会活动，主要指学校教育。狭义的教育者是从事学校教育活动的人，包括学校教师、教育管理人员以及参加教育活动的其他人员。 <\/font>  <\/p>","metas":{"choices":["<p ><font size=20 color=#5D5D5D  >  学校的教育管理人员 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  专职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  学校聘请的兼职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  家长 <\/font>  <\/p>"]},"categoryId":"0","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"1","updatedTime":"1509867136","createdTime":"1509867136","copyId":"0","includeImg":false},"personal":{"do_count":"9","right_count":"0","wrong_count":9},"all_data":{"do_count":"17","wrong_rate":"100%","easy_wrong":"A"},"favorite":"0","share":{"url":"http://iweishi.cn/app","title":"<p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 <\/font>  <\/p>","image":"http://www.iweishi.cn/files/logo.png"},"answer_compare":"正确答案是A"}
     * type : choice
     * questionPreview : true
     */

    private int success;
    private String lmname;
    private ItemBean item;
    private String type;
    private boolean questionPreview;

    public int getSuccess() {
        return success;
    }

    public void setSuccess(int success) {
        this.success = success;
    }

    public String getLmname() {
        return lmname;
    }

    public void setLmname(String lmname) {
        this.lmname = lmname;
    }

    public ItemBean getItem() {
        return item;
    }

    public void setItem(ItemBean item) {
        this.item = item;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isQuestionPreview() {
        return questionPreview;
    }

    public void setQuestionPreview(boolean questionPreview) {
        this.questionPreview = questionPreview;
    }

    public static class ItemBean {
        /**
         * questionId : 951
         * questionType : single_choice
         * question : {"id":"951","type":"single_choice","stem":"<p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 <\/font>  <\/p>","score":"1.0","answer":["3"],"analysis":"<p ><font size=4 color=#5D5D5D  > 【解析】狭义的教育是指以影响人的身心发展为直接目标的社会活动，主要指学校教育。狭义的教育者是从事学校教育活动的人，包括学校教师、教育管理人员以及参加教育活动的其他人员。 <\/font>  <\/p>","metas":{"choices":["<p ><font size=20 color=#5D5D5D  >  学校的教育管理人员 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  专职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  学校聘请的兼职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  家长 <\/font>  <\/p>"]},"categoryId":"0","difficulty":"normal","target":"course-45","parentId":"0","subCount":"0","finishedTimes":"0","passedTimes":"0","userId":"1","updatedTime":"1509867136","createdTime":"1509867136","copyId":"0","includeImg":false}
         * personal : {"do_count":"9","right_count":"0","wrong_count":9}
         * all_data : {"do_count":"17","wrong_rate":"100%","easy_wrong":"A"}
         * favorite : 0
         * share : {"url":"http://iweishi.cn/app","title":"<p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 <\/font>  <\/p>","image":"http://www.iweishi.cn/files/logo.png"}
         * answer_compare : 正确答案是A
         */

        private String questionId;
        private String questionType;
        private QuestionBean question;
        private PersonalBean personal;
        private AllDataBean all_data;
        private String favorite;
        private ShareBean share;
        private String answer_compare;

        public String getQuestionId() {
            return questionId;
        }

        public void setQuestionId(String questionId) {
            this.questionId = questionId;
        }

        public String getQuestionType() {
            return questionType;
        }

        public void setQuestionType(String questionType) {
            this.questionType = questionType;
        }

        public QuestionBean getQuestion() {
            return question;
        }

        public void setQuestion(QuestionBean question) {
            this.question = question;
        }

        public PersonalBean getPersonal() {
            return personal;
        }

        public void setPersonal(PersonalBean personal) {
            this.personal = personal;
        }

        public AllDataBean getAll_data() {
            return all_data;
        }

        public void setAll_data(AllDataBean all_data) {
            this.all_data = all_data;
        }

        public String getFavorite() {
            return favorite;
        }

        public void setFavorite(String favorite) {
            this.favorite = favorite;
        }

        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public String getAnswer_compare() {
            return answer_compare;
        }

        public void setAnswer_compare(String answer_compare) {
            this.answer_compare = answer_compare;
        }

        public static class QuestionBean {
            /**
             * id : 951
             * type : single_choice
             * stem : <p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 </font>  </p>
             * score : 1.0
             * answer : ["3"]
             * analysis : <p ><font size=4 color=#5D5D5D  > 【解析】狭义的教育是指以影响人的身心发展为直接目标的社会活动，主要指学校教育。狭义的教育者是从事学校教育活动的人，包括学校教师、教育管理人员以及参加教育活动的其他人员。 </font>  </p>
             * metas : {"choices":["<p ><font size=20 color=#5D5D5D  >  学校的教育管理人员 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  专职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  学校聘请的兼职教师 <\/font>  <\/p>","<p ><font size=20 color=#5D5D5D  >  家长 <\/font>  <\/p>"]}
             * categoryId : 0
             * difficulty : normal
             * target : course-45
             * parentId : 0
             * subCount : 0
             * finishedTimes : 0
             * passedTimes : 0
             * userId : 1
             * updatedTime : 1509867136
             * createdTime : 1509867136
             * copyId : 0
             * includeImg : false
             */

            private String id;
            private String type;
            private String stem;
            private String score;
            private String analysis;
            private MetasBean metas;
            private String categoryId;
            private String difficulty;
            private String target;
            private String parentId;
            private String subCount;
            private String finishedTimes;
            private String passedTimes;
            private String userId;
            private String updatedTime;
            private String createdTime;
            private String copyId;
            private boolean includeImg;
            private List<String> answer;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getStem() {
                return stem;
            }

            public void setStem(String stem) {
                this.stem = stem;
            }

            public String getScore() {
                return score;
            }

            public void setScore(String score) {
                this.score = score;
            }

            public String getAnalysis() {
                return analysis;
            }

            public void setAnalysis(String analysis) {
                this.analysis = analysis;
            }

            public MetasBean getMetas() {
                return metas;
            }

            public void setMetas(MetasBean metas) {
                this.metas = metas;
            }

            public String getCategoryId() {
                return categoryId;
            }

            public void setCategoryId(String categoryId) {
                this.categoryId = categoryId;
            }

            public String getDifficulty() {
                return difficulty;
            }

            public void setDifficulty(String difficulty) {
                this.difficulty = difficulty;
            }

            public String getTarget() {
                return target;
            }

            public void setTarget(String target) {
                this.target = target;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }

            public String getSubCount() {
                return subCount;
            }

            public void setSubCount(String subCount) {
                this.subCount = subCount;
            }

            public String getFinishedTimes() {
                return finishedTimes;
            }

            public void setFinishedTimes(String finishedTimes) {
                this.finishedTimes = finishedTimes;
            }

            public String getPassedTimes() {
                return passedTimes;
            }

            public void setPassedTimes(String passedTimes) {
                this.passedTimes = passedTimes;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getUpdatedTime() {
                return updatedTime;
            }

            public void setUpdatedTime(String updatedTime) {
                this.updatedTime = updatedTime;
            }

            public String getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(String createdTime) {
                this.createdTime = createdTime;
            }

            public String getCopyId() {
                return copyId;
            }

            public void setCopyId(String copyId) {
                this.copyId = copyId;
            }

            public boolean isIncludeImg() {
                return includeImg;
            }

            public void setIncludeImg(boolean includeImg) {
                this.includeImg = includeImg;
            }

            public List<String> getAnswer() {
                return answer;
            }

            public void setAnswer(List<String> answer) {
                this.answer = answer;
            }

            public static class MetasBean {
                private List<String> choices;

                public List<String> getChoices() {
                    return choices;
                }

                public void setChoices(List<String> choices) {
                    this.choices = choices;
                }
            }
        }

        public static class PersonalBean {
            /**
             * do_count : 9
             * right_count : 0
             * wrong_count : 9
             */

            private String do_count;
            private String right_count;
            private int wrong_count;

            public String getDo_count() {
                return do_count;
            }

            public void setDo_count(String do_count) {
                this.do_count = do_count;
            }

            public String getRight_count() {
                return right_count;
            }

            public void setRight_count(String right_count) {
                this.right_count = right_count;
            }

            public int getWrong_count() {
                return wrong_count;
            }

            public void setWrong_count(int wrong_count) {
                this.wrong_count = wrong_count;
            }
        }

        public static class AllDataBean {
            /**
             * do_count : 17
             * wrong_rate : 100%
             * easy_wrong : A
             */

            private String do_count;
            private String wrong_rate;
            private String easy_wrong;

            public String getDo_count() {
                return do_count;
            }

            public void setDo_count(String do_count) {
                this.do_count = do_count;
            }

            public String getWrong_rate() {
                return wrong_rate;
            }

            public void setWrong_rate(String wrong_rate) {
                this.wrong_rate = wrong_rate;
            }

            public String getEasy_wrong() {
                return easy_wrong;
            }

            public void setEasy_wrong(String easy_wrong) {
                this.easy_wrong = easy_wrong;
            }
        }

        public static class ShareBean {
            /**
             * url : http://iweishi.cn/app
             * title : <p ><font size=20 color=#5D5D5D  > （单选题）下列不属于狭义的教育者的是（）。 </font>  </p>
             * image : http://www.iweishi.cn/files/logo.png
             */

            private String url;
            private String title;
            private String image;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }
        }
    }
}
